#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

#include <string.h>



int my_strlen(const char* str)
{
	int count = 0;

	while (*str)
	{
		str++;
		count++;
	}

	return count;

}


int main()
{

	char arr[] = "abcdef";

	printf("%d",my_strlen(arr));

	return 0;
}